import request from '@/utils/flight.js'
// let manualHost = 'https://flight-code.sx985.com'
let manualHost = process.env.manualUrl
// let manualHost = ''
// 专业库
// 根据专业类名称获取专业列表
export const getAllCities = () => {
  return request.get(manualHost + '/cities')
}
export const getSchools = (id) => {
  return request.get(manualHost + '/cities/' + id + '/schools')
}
export const captcha = (obj) => {
  return request.post(manualHost + '/vip_cards/captcha', obj)
}
export const getCardInfo = (uid) => {
  return request.get(manualHost + '/vip_cards/info/' + uid)
}
export const postCards = (obj) => {
  return request.post(manualHost + '/vip_cards', obj)
}
export const cardsActive = (obj) => {
  return request.post(manualHost + '/vip_cards/active', obj)
}
export const cardsVip = (obj) => {
  return request.post(manualHost + '/vip_cards/vip/11', obj)
}

export const manualList = (obj) => {
  return request.get(manualHost + '/vip_cards/info/manual/list', obj)
}
export const receive_info = (obj) => {
  return request.get(manualHost + '/vip_cards/receive_info', obj)
}
